package com.khson.knows.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.khson.knows.portal.model.User;
import com.khson.knows.portal.vo.RegisterVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.khson
 * @since 2021-08-23
 */

public interface IUserService extends IService<User> {

    //学生注册的方法
    void registerStudent(RegisterVo registerVo);

    //查找所有老师的方法
    List<User> findTeachers();

    //查询所有讲师的map
    Map<String,User> getTeacherMap();
}
